package com.hex.ds.hdtp.core.app.script.transfer.converter;

import com.hex.ds.hdtp.core.app.script.transfer.dto.request.ScriptConvertSourceListRequestDto;
import com.hex.ds.hdtp.core.app.script.transfer.dto.response.ScriptConvertSourceListResponseDto;
import com.hex.ds.hdtp.core.inf.script.transfer.po.ScriptConvertSourceListPo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @Package: com.hex.ds.hdtp.core.app.transfer.script.converter
 * @ClassName IScriptConvertListConverter
 * @Description: 脚本转换清单DTO对象与PO对象转换器
 * @Author: wz.li
 * @Date 2023/2/12 10:38
 * @Version v2.0.2
 **/
@Mapper(componentModel = "spring")
public interface IScriptConvertSourceListConverter {

    ScriptConvertSourceListPo toScriptConvertListPo(ScriptConvertSourceListRequestDto scriptConvertSourceListRequestDto);

    ScriptConvertSourceListResponseDto toScriptConvertListResponseDto(ScriptConvertSourceListPo scriptConvertSourceListPo);

    List<ScriptConvertSourceListResponseDto> toScriptConvertListResponseDtoList(List<ScriptConvertSourceListPo> scriptConvertListPoSourceList);
}
